import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { BlockchainComponent } from './blockchain.component';
import {UpblockchaininfoComponent} from "./componetns/upblockchaininfo/upblockchaininfo.component";
import {SymessagelistComponent} from "./componetns/symessagelist/symessagelist.component";
import {YhcxrzComponent} from "./componetns/yhcxrz/yhcxrz.component";
import {YhdlrzComponent} from "./componetns/yhdlrz/yhdlrz.component";

const routes: Routes = [
  { path: '', component: BlockchainComponent },
  { path: 'upblockchain', component: UpblockchaininfoComponent },
  { path: 'symessagelist', component: SymessagelistComponent },
  { path: 'yhcxrz', component: YhcxrzComponent },
  { path: 'yhdlrz', component: YhdlrzComponent }
                      ];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class BlockchainRoutingModule { }
